package com.wjw.java.basic.method_;

/**
 * 方法的调用机制见：member_method_jvm.png
 * -----------------------------------------------------------
 */
public class MemberMethod {

    public int getSum(int a,int b){
        int result = a + b;
        return result;
    }

    public static void main(String[] args) {
        MemberMethod m = new MemberMethod();
        int sum = m.getSum(10, 20);
        System.out.println("和为："+sum);
    }
}
